package com.jiyun.play.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.domain.Games;
import com.domain.Play;
import com.jiyun.play.mapper.PlayMapper;
import com.jiyun.play.service.PlayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
* @author lenovo
* @description 针对表【play】的数据库操作Service实现
* @createDate 2024-12-18 11:19:36
*/
@Service
public class PlayServiceImpl extends ServiceImpl<PlayMapper, Play>
    implements PlayService{
    @Autowired
    private PlayMapper playMapper;
    @Override
    public List<Play> findAll(Play play) {
       return playMapper.fndALLPlay(play);
    }

    @Override
    public List<Play> findTab(Integer id) {
       List<Play> plays = playMapper.findTab(id);
       return plays;
    }

}




